package com.taotao.manage.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import com.fasterxml.jackson.databind.ObjectMapper;

@Service
public class PropertieService {
	
	@Value("${TAOTAO_MANAGE_IMAGE_BASE_URL}")
	public String TAOTAO_MANAGE_IMAGE_BASE_URL;
	
	@Value("${TAOTAO_MANAGE_REPOSITORY_PATH}")
	public String TAOTAO_MANAGE_REPOSITORY_PATH;
	
	@Value("${TAOTAO_MANAGE_JEDISCACHED_ITEMCAT}")
	public String TAOTAO_MANAGE_JEDISCACHED_ITEMCAT;
	
	
	@Value("${TAOTAO_MANAGE_JEDISCACHED_ITEMCAT_LIVE}")
	public int TAOTAO_MANAGE_JEDISCACHED_ITEMCAT_LIVE;
	
	public static final ObjectMapper MAPPER = new ObjectMapper();

}
